DS1992/DS1993
slave(s). The presence pulse lets the bus master know that the DS199x is on the bus and is ready to
operate. For more details, see the 1-Wire Signaling section.
ROM FUNCTION COMMANDS
Once the bus master has detected a presence, it can issue one of the four ROM function commands. All
ROM function commands are 8 bits long. A list of these commands follows (see the flow chart in Figure
9).
Read ROM [33h]
This command allows the bus master to read the DS199x’s 8-bit family code, unique 48-bit serial
number, and 8-bit CRC. This command should only be used if there is a single DS199x on the bus. If
more than one slave is present on the bus, a data collision occurs when all slaves try to transmit at the
same time (open drain produces a wired-AND result). The resultant family code and 48-bit serial number
usually result in a mismatch of the CRC.
Match ROM [55h]
The match ROM command, followed by a 64-bit ROM sequence, allows the bus master to address a
specific DS199x on a multidrop bus. Only the DS199x that exactly matches the 64-bit ROM sequence
will respond to the following memory function command. All slaves that do not match the 64-bit ROM
sequence wait for a reset pulse. This command can be used with single or multiple devices on the bus.
Skip ROM [CCh]
This command can save time in a single drop bus system by allowing the bus master to access the
memory functions without providing the 64-bit ROM code. If more than one slave is present on the bus
and, for example, a read command is issued following the Skip ROM command, data collision will occur
on the bus as multiple slaves transmit simultaneously (open-drain pulldowns produce a wired-AND
result).
Search ROM [F0h]
When a system is initially brought up, the bus master may not know the number of devices on the 1-Wire
bus or their 64-bit ROM codes. The search ROM command allows the bus master to use a process of
elimination to identify the 64-bit ROM codes of all slave devices on the bus. The search ROM process is
the repetition of a simple 3-step routine: read a bit, read the complement of the bit, then write the desired
value of that bit. The bus master performs this simple, 3-step routine on each bit of the ROM. After one
complete pass, the bus master knows the 64-bit ROM code of one device. Additional passes will identify
the ROM codes of the remaining devices. See Chapter 5 of the Book of DS19xx iButton Standards for a
comprehensive discussion of a search ROM, including an actual example.
1-Wire SIGNALING
The DS199x require strict protocols to ensure data integrity. The protocol consists of four types of
signaling on one line: reset sequence with reset pulse and presence pulse, write 0, write 1, and read data.
The bus master initiates all these signals except presence pulse. The initialization sequence required to
begin any communication with the DS199x is shown in Figure 10. A reset pulse followed by a presence
pulse indicates the DS199x is ready to send or receive data given the correct ROM command and
memory function command. The bus master transmits (Tx) a reset pulse (t RSTL , minimum 480 μ s). The bus
master then releases the line and goes into receive mode (Rx). The 1-Wire bus is pulled to a high state
through the pullup resistor. After detecting the rising edge on the data line, the DS199x waits (t PDH , 15 μ s
to 60 μ s) and then transmits the presence pulse (t PDL , 60 μ s to 240 μ s).
11 of 17
相关PDF资料
DS1995L-F5+ IBUTTON MEMORY 16KBit F5
DS1996L-F5+ IBUTTON MEMORY 64KBit F5
DS9092K# KIT IBUTTON STARTER
DS9502P+T&R DIODE ESD PROTECTION 6-TSOC
DS9503P+ DIODE ESD PROTECTION W/RES 6TSOC
DSL70 E6327 DIODES TVS ARRAY R-R SOT-143
DT-2R48-B6 SWITCH PLUNGER DPDT 10A SCREW
DT-2R722-A7 SWITCH PLUNGER DPDT 10A SCREW
相关代理商/技术参数
DS1993L-F5-C01 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1994 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:4kb Plus Time Memory iButton
DS1994-LF5 制造商: 功能描述: 制造商:undefined 功能描述:
DS1994L-F5 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1994L-F5+ 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1994L-F5-W 功能描述:iButton RoHS:否 存储类型:SRAM 存储容量:512 B 组织: 工作电源电压:3 V to 5.25 V 接口类型:1-Wire 最大工作温度:+ 85 C 尺寸:17.35 mm x 5.89 mm 封装 / 箱体:F5 MicroCan 制造商:Maxim Integrated
DS1994-LFS 制造商: 功能描述: 制造商:undefined 功能描述:
DS1995 制造商:DALLAS 制造商全称:Dallas Semiconductor 功能描述:16-kbit Memory iButton